#pragma once

#include "Common.h"

class CentralCache {
  public:
    static CentralCache *GetInstance() {
        static CentralCache instance = CentralCache();
        return &instance;
    }

    size_t FetchRangeObj(void *&start, void *&end, size_t n, size_t size) { return 0; }

  private:
    CentralCache() = default;
    CentralCache(const CentralCache &) = delete;
    CentralCache &operator=(const CentralCache &) = delete;

  private:
    SpanList _spanList[FREE_LIST_NUM];
};